package com.qianfeng.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//默认情况下扫面的是当前包以及当前包的子包
@SpringBootApplication(scanBasePackages= {"com.qianfeng.controller"}) //这是组合注解，可以替换上面的两个注解
public class SpringApplications {

	
	public static void main(String[] args) {
		SpringApplication.run(SpringApplications.class, args);
	}
}
